﻿<%@ Page Language="c#" CodeBehind="UserList.aspx.cs" AutoEventWireup="false" Inherits="ACRSAP.Administration.Users.UserList" %>

<%@ Register TagPrefix="it" TagName="AdminTabs" Src="~/Administration/UserControls/AdminTabs.ascx" %>
<%@ Register TagPrefix="it" TagName="Header" Src="~/UserControls/Header.ascx" %>
<%@ Register TagPrefix="it" TagName="Footer" Src="~/UserControls/Footer.ascx" %>
<it:Header Title="User List" TabName="Administration" runat="server" ID="Header1" />
<form runat="server">
<it:AdminTabs CurrentTabName="Users" runat="server" ID="AdminTabs1" />
<table>
    <tr>
        <td>
            <table cellspacing="20">
                <tr>
                    <td>
                        <asp:button text="Create New User" runat="server" id="btnAdd" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:datagrid id="UsersGrid" allowpaging="True" cellpadding="2" autogeneratecolumns="False"
                            allowsorting="True" runat="server">
								<HeaderStyle ></HeaderStyle>
								<Columns>
									<asp:HyperLinkColumn DataNavigateUrlField="Id" DataNavigateUrlFormatString="UserDetail.aspx?id={0}" DataTextField="Username"
										SortExpression="Username" HeaderText="Username">
										<HeaderStyle  ></HeaderStyle>
										<ItemStyle ></ItemStyle>
									</asp:HyperLinkColumn>
									<asp:TemplateColumn SortExpression="DisplayName" HeaderText="Display Name">
										<HeaderStyle  ></HeaderStyle>
										<ItemStyle  ></ItemStyle>
										<ItemTemplate>
                        &nbsp;
<asp:Label id="lblDisplayName" Runat="Server" />
                    
</ItemTemplate>
									</asp:TemplateColumn>
									<asp:TemplateColumn SortExpression="RoleName" HeaderText="Role">
										<HeaderStyle  ></HeaderStyle>
										<ItemStyle  ></ItemStyle>
										<ItemTemplate>
                        &nbsp;
<asp:Label id="lblRoleName" Runat="Server" />
                    
</ItemTemplate>
									</asp:TemplateColumn>
								</Columns>
								<PagerStyle ></PagerStyle>
							</asp:datagrid>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
</form>
<it:Footer runat="server" ID="Footer1" />
